//
//  CTPMessage.h
//  LittleNotes
//
//  Created by 檀志文 on 16/5/19.
//  Copyright © 2016年 ios檀志文. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CTPMessage : NSObject

/// Id
@property (nonatomic, assign) NSInteger Id;
// 标题Id
@property (nonatomic, assign) NSInteger *titleId;
/// 内容
@property (nonatomic, copy) NSString *content;
/// 创建时间
@property (nonatomic, copy) NSString *created_at;
/// 配图
/// 数组,里面保存的是字典
@property (nonatomic, copy) NSString *pic_urls;
/// 模型提供好用一点的图片数组
@property (nonatomic, strong) NSMutableArray *storePicutreURLs;
// 缓存行高
@property (nonatomic, assign) CGFloat rowHeight;

//
@property (nonatomic, strong) NSMutableArray *imgsArray;


/// 字典转模型
+ (instancetype)msgsWithDict:(NSDictionary *)dict;

- (instancetype)initWithTitleId:(NSInteger)titleId content:(NSString *)content created_at:(NSString *)created_at pic_urls:(NSString *)pic_urls;


@end
